package com.hyg.oa.user.mapper;

import java.util.List;
import java.util.Map;

import com.hyg.oa.user.model.User;


/**
 * 用户Mapper
 * @author Administrator
 *
 */
public interface UserMapper {

    User findById(String id);
    
    User findByUsername(String username);
    
    List<User> findAll();

	void save(User user);

	void update(User user);

	void delete(String id);
	
	List<User> findPage(Map<String,Object> params);
	
	Long findTotalCount();

}
